import axios from "axios";

var request ;
const  userLoginApi = (data={})=>{
    request(url,data,method)
}
const  userLoginApi = (data={})=>{
    //格式验证

    request(url,data,method).then(res => {
        resolve(res.data)
    })
}
//this.$rq.userLoginApi(data).then(res=>{},err=>{});
export default {
    userLoginApi,
    userLogoutApi
}